Skip to main content

revZipRenameItem

Type

command

Summary

Renames an item in a zip archive.

Syntax

revZipRenameItem <archiveName>, <itemName>, <newName>

Description

Use the revZipRenameItem command to change the name of an item in an open zip archive. The archive must have first been opened using the revZipOpenArchive command.

Parameters

NameTypeDescription

archiveName

The absolute path to the zip archive to process.

itemName

The name of the item in the zip archive to rename.

newName

The new name to give the item. If the revZipRenameItem command encounters an error, then the result will be set to an error code beginning with "ziperr", otherwise the result will be empty.

Examples

revZipRenameItem tArchive, "myZippedItem", "myNewZippedItem"

command: revZipDeleteItem, revZipOpenArchive

Compatibility and Support

Introduced

LiveCode 2.7.3

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?